Motion.SetGroupParameter 方法
设定轴组的参数值。参数于 McGroupParameter 中定义。
命名空间:IntervalZero.KINGSTAR.Local.Api
组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0
语法
public KsCommandStatus SetGroupParameter(
int Index,
McGroupParameter ParameterNumber,
double Value,
McExecutionMode ExecutionMode
)
Public Function SetGroupParameter(
Index As Integer,
ParameterNumber As McGroupParameter,
Value As Double,
ExecutionMode As McExecutionMode
) As KsCommandStatus
参数
Index [in]
型别:int
轴组的索引。索引以 0 为起始。最多可有 32 个轴组。
ParameterNumber [in]
McGroupParameter 中的参数。
Value [in]
型别:double
将值写入从 McGroupParameter 中选取的参数。例如选取 McGroupParameter 中的 mcMaxVelocityACS
参数,则须将值写入此参数。
ExecutionMode [in]
定义方法的时间顺序。
回传值
回传 KsCommandStatus 类别。
范例
N/A
参见